table of contents
lsm_volumes_accessible_by_access_group(3) | Libstoragemgmt C API Manual | lsm_volumes_accessible_by_access_group(3) |
NAME¶
lsm_volumes_accessible_by_access_group - Query volumes that the specified access group has access to.
SYNOPSIS¶
int lsm_volumes_accessible_by_access_group (lsm_connect *conn, lsm_access_group *group, lsm_volume **volumes[], uint32_t *count, lsm_flag flags);
ARGUMENTS¶
VERSION¶
1.0
DESCRIPTION¶
Return a list of volumes which is accessible by specified access group.
CAPABILITY¶
LSM_CAP_VOLUMES_ACCESSIBLE_BY_ACCESS_GROUP
RETURN¶
Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags or invalid lsm_access_group pointer.
* LSM_ERR_NOT_FOUND_ACCESS_GROUP
When access group not found.
* LSM_ERR_NO_SUPPORT
Not supported.
lsm_volumes_accessible_by_access_group | January 2023 |